package com.haiberg.framework.services.impl;

import org.springframework.stereotype.Service;

import com.haiberg.framework.dao.ICommonDao;
import com.haiberg.framework.services.ICommonService;
@Service("commonService")
public class CommonService implements ICommonService {
	ICommonDao commonDao;
	
	
	public ICommonDao getCommonDao() {
		return commonDao;
	}


	public void setCommonDao(ICommonDao commonDao) {
		this.commonDao = commonDao;
	}


	public long getNextval(String sequence) {
		// TODO Auto-generated method stub
		return commonDao.getNextval(sequence);
	}

}
